Zoom
interface Zoom
Allows configuring zoom level for the domain of the currently loaded web page.
A Zoom
instance belongs to Browser
and can be used only if Browser
is alive. When Browser
is closed, the Zoom
instance automatically updates its internal state and does not allow modifying zoom anymore. The IllegalStateException
will be thrown in this case.
The zoom level is configured for each domain separately, so if you set zoom level for "a.com", it will not be applied for "b.com". If you change zoom level for one domain and then load another one, then the zoom level for another domain will be default.
The zoom level per domain configurations are kept by the Profile
instance, and they are preserved after closing a Browser
the Zoom
instance belongs to.